# -*- coding: utf-8 -*-
# @Author: garlic
# @Date:   2019-04-08 16:05:58
# @Last Modified by:   garlic
# @Last Modified time: 2019-04-08 16:05:58

import const
import logging
import query,reverse,micropay,create,unifiedorder,refund_query,refund


## 常量定义
const.STORE_CODE = ""
const.API_VERSION = "v46"
const.GF_APPID =  ""
const.GF_APP_SECRET =  ""
const.GF_API_URL_PREFIX = "http://open.guangfen.net/api/"

const.PAY_CHANNEL_ALIPAY = "ALIPAY"
const.PAY_CHANNEL_WECHAT = "WECHAT"
const.PAY_CHANNEL_CLOUD_UNION = "CLOUD_UNION"


if __name__ == '__main__':
    logging.basicConfig(level=logging.DEBUG)
    # query.pay_query()
    # reverse.pay_reverse()
    # micropay.pay_micropay()
    # create.pay_create()
    # unifiedorder.pay_unifiedorder()
    # refund_query.refund_query()
    refund.refund()